package com.tl.khadmin.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.tl.khadmin.bean.SettlementBill;
import com.tl.khadmin.bean.dto.BillOrderDto;
import com.tl.khadmin.bean.dto.SettlementBillDto;

public interface SettlementBillMapper {
	
	List<SettlementBill> showByPage(Map<String, Object> params);
	
    int deleteByPrimaryKey(Integer id);

    int insert(SettlementBill record);

    int insertSelective(SettlementBill record);

    SettlementBill selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SettlementBill record);

    int updateByPrimaryKey(SettlementBill record);

	List<BillOrderDto> findOrder(Integer id);

	int insertSettlementBillOrder(@Param("settlementBillId") Integer settlementBillId, @Param("orderId") Integer orderId);
}